gtktextview: Fixed arrow key crash.
authorJordan Yelloz <jordan@yelloz.me>
Tue, 21 Sep 2021 15:47:32 +0000 (08:47 -0700)
committerJordan Yelloz <jordan@yelloz.me>
Tue, 21 Sep 2021 16:14:22 +0000 (09:14 -0700)
commit5f913e95589b362fa817e73d05c78f5eda522b0a
treea4ce2f913639751b5c0a1a86893c5bc90f5fada2
parent3e20ecd6e1a38bddc43728ec8f44d7c9da985a5b
gtktextview: Fixed arrow key crash.

When pressing the keyboard arrows to move around when the insertion point is
hidden, it causes an assertion error in blink_cb.

Insertion point blinks should only be scheduled when blinking is enabled and the
insertion point is visible.

Closes #4275
gtk/gtktextview.c